package com.lxk.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PointOrdersExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PointOrdersExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPointOrdersIdIsNull() {
            addCriterion("point_orders_id is null");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdIsNotNull() {
            addCriterion("point_orders_id is not null");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdEqualTo(Integer value) {
            addCriterion("point_orders_id =", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdNotEqualTo(Integer value) {
            addCriterion("point_orders_id <>", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdGreaterThan(Integer value) {
            addCriterion("point_orders_id >", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("point_orders_id >=", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdLessThan(Integer value) {
            addCriterion("point_orders_id <", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdLessThanOrEqualTo(Integer value) {
            addCriterion("point_orders_id <=", value, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdIn(List<Integer> values) {
            addCriterion("point_orders_id in", values, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdNotIn(List<Integer> values) {
            addCriterion("point_orders_id not in", values, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdBetween(Integer value1, Integer value2) {
            addCriterion("point_orders_id between", value1, value2, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andPointOrdersIdNotBetween(Integer value1, Integer value2) {
            addCriterion("point_orders_id not between", value1, value2, "pointOrdersId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdIsNull() {
            addCriterion("wx_user_id is null");
            return (Criteria) this;
        }

        public Criteria andWxUserIdIsNotNull() {
            addCriterion("wx_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andWxUserIdEqualTo(Integer value) {
            addCriterion("wx_user_id =", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdNotEqualTo(Integer value) {
            addCriterion("wx_user_id <>", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdGreaterThan(Integer value) {
            addCriterion("wx_user_id >", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("wx_user_id >=", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdLessThan(Integer value) {
            addCriterion("wx_user_id <", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("wx_user_id <=", value, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdIn(List<Integer> values) {
            addCriterion("wx_user_id in", values, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdNotIn(List<Integer> values) {
            addCriterion("wx_user_id not in", values, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdBetween(Integer value1, Integer value2) {
            addCriterion("wx_user_id between", value1, value2, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andWxUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("wx_user_id not between", value1, value2, "wxUserId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdIsNull() {
            addCriterion("point_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdIsNotNull() {
            addCriterion("point_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdEqualTo(Integer value) {
            addCriterion("point_goods_id =", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdNotEqualTo(Integer value) {
            addCriterion("point_goods_id <>", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdGreaterThan(Integer value) {
            addCriterion("point_goods_id >", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("point_goods_id >=", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdLessThan(Integer value) {
            addCriterion("point_goods_id <", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("point_goods_id <=", value, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdIn(List<Integer> values) {
            addCriterion("point_goods_id in", values, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdNotIn(List<Integer> values) {
            addCriterion("point_goods_id not in", values, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("point_goods_id between", value1, value2, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("point_goods_id not between", value1, value2, "pointGoodsId");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameIsNull() {
            addCriterion("point_goods_name is null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameIsNotNull() {
            addCriterion("point_goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameEqualTo(String value) {
            addCriterion("point_goods_name =", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameNotEqualTo(String value) {
            addCriterion("point_goods_name <>", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameGreaterThan(String value) {
            addCriterion("point_goods_name >", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("point_goods_name >=", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameLessThan(String value) {
            addCriterion("point_goods_name <", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("point_goods_name <=", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameLike(String value) {
            addCriterion("point_goods_name like", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameNotLike(String value) {
            addCriterion("point_goods_name not like", value, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameIn(List<String> values) {
            addCriterion("point_goods_name in", values, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameNotIn(List<String> values) {
            addCriterion("point_goods_name not in", values, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameBetween(String value1, String value2) {
            addCriterion("point_goods_name between", value1, value2, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsNameNotBetween(String value1, String value2) {
            addCriterion("point_goods_name not between", value1, value2, "pointGoodsName");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostIsNull() {
            addCriterion("point_goods_cost is null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostIsNotNull() {
            addCriterion("point_goods_cost is not null");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostEqualTo(Integer value) {
            addCriterion("point_goods_cost =", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostNotEqualTo(Integer value) {
            addCriterion("point_goods_cost <>", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostGreaterThan(Integer value) {
            addCriterion("point_goods_cost >", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostGreaterThanOrEqualTo(Integer value) {
            addCriterion("point_goods_cost >=", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostLessThan(Integer value) {
            addCriterion("point_goods_cost <", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostLessThanOrEqualTo(Integer value) {
            addCriterion("point_goods_cost <=", value, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostIn(List<Integer> values) {
            addCriterion("point_goods_cost in", values, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostNotIn(List<Integer> values) {
            addCriterion("point_goods_cost not in", values, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostBetween(Integer value1, Integer value2) {
            addCriterion("point_goods_cost between", value1, value2, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointGoodsCostNotBetween(Integer value1, Integer value2) {
            addCriterion("point_goods_cost not between", value1, value2, "pointGoodsCost");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeIsNull() {
            addCriterion("point_orders_time is null");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeIsNotNull() {
            addCriterion("point_orders_time is not null");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeEqualTo(Date value) {
            addCriterion("point_orders_time =", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeNotEqualTo(Date value) {
            addCriterion("point_orders_time <>", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeGreaterThan(Date value) {
            addCriterion("point_orders_time >", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("point_orders_time >=", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeLessThan(Date value) {
            addCriterion("point_orders_time <", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeLessThanOrEqualTo(Date value) {
            addCriterion("point_orders_time <=", value, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeIn(List<Date> values) {
            addCriterion("point_orders_time in", values, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeNotIn(List<Date> values) {
            addCriterion("point_orders_time not in", values, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeBetween(Date value1, Date value2) {
            addCriterion("point_orders_time between", value1, value2, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andPointOrdersTimeNotBetween(Date value1, Date value2) {
            addCriterion("point_orders_time not between", value1, value2, "pointOrdersTime");
            return (Criteria) this;
        }

        public Criteria andIsSuccessIsNull() {
            addCriterion("is_success is null");
            return (Criteria) this;
        }

        public Criteria andIsSuccessIsNotNull() {
            addCriterion("is_success is not null");
            return (Criteria) this;
        }

        public Criteria andIsSuccessEqualTo(Integer value) {
            addCriterion("is_success =", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessNotEqualTo(Integer value) {
            addCriterion("is_success <>", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessGreaterThan(Integer value) {
            addCriterion("is_success >", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_success >=", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessLessThan(Integer value) {
            addCriterion("is_success <", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessLessThanOrEqualTo(Integer value) {
            addCriterion("is_success <=", value, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessIn(List<Integer> values) {
            addCriterion("is_success in", values, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessNotIn(List<Integer> values) {
            addCriterion("is_success not in", values, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessBetween(Integer value1, Integer value2) {
            addCriterion("is_success between", value1, value2, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andIsSuccessNotBetween(Integer value1, Integer value2) {
            addCriterion("is_success not between", value1, value2, "isSuccess");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdIsNull() {
            addCriterion("delivery_id is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdIsNotNull() {
            addCriterion("delivery_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdEqualTo(Integer value) {
            addCriterion("delivery_id =", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdNotEqualTo(Integer value) {
            addCriterion("delivery_id <>", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdGreaterThan(Integer value) {
            addCriterion("delivery_id >", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("delivery_id >=", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdLessThan(Integer value) {
            addCriterion("delivery_id <", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdLessThanOrEqualTo(Integer value) {
            addCriterion("delivery_id <=", value, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdIn(List<Integer> values) {
            addCriterion("delivery_id in", values, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdNotIn(List<Integer> values) {
            addCriterion("delivery_id not in", values, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdBetween(Integer value1, Integer value2) {
            addCriterion("delivery_id between", value1, value2, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("delivery_id not between", value1, value2, "deliveryId");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityIsNull() {
            addCriterion("delivery_city is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityIsNotNull() {
            addCriterion("delivery_city is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityEqualTo(String value) {
            addCriterion("delivery_city =", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityNotEqualTo(String value) {
            addCriterion("delivery_city <>", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityGreaterThan(String value) {
            addCriterion("delivery_city >", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_city >=", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityLessThan(String value) {
            addCriterion("delivery_city <", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityLessThanOrEqualTo(String value) {
            addCriterion("delivery_city <=", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityLike(String value) {
            addCriterion("delivery_city like", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityNotLike(String value) {
            addCriterion("delivery_city not like", value, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityIn(List<String> values) {
            addCriterion("delivery_city in", values, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityNotIn(List<String> values) {
            addCriterion("delivery_city not in", values, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityBetween(String value1, String value2) {
            addCriterion("delivery_city between", value1, value2, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryCityNotBetween(String value1, String value2) {
            addCriterion("delivery_city not between", value1, value2, "deliveryCity");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrIsNull() {
            addCriterion("delivery_addr is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrIsNotNull() {
            addCriterion("delivery_addr is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrEqualTo(String value) {
            addCriterion("delivery_addr =", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrNotEqualTo(String value) {
            addCriterion("delivery_addr <>", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrGreaterThan(String value) {
            addCriterion("delivery_addr >", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_addr >=", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrLessThan(String value) {
            addCriterion("delivery_addr <", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrLessThanOrEqualTo(String value) {
            addCriterion("delivery_addr <=", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrLike(String value) {
            addCriterion("delivery_addr like", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrNotLike(String value) {
            addCriterion("delivery_addr not like", value, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrIn(List<String> values) {
            addCriterion("delivery_addr in", values, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrNotIn(List<String> values) {
            addCriterion("delivery_addr not in", values, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrBetween(String value1, String value2) {
            addCriterion("delivery_addr between", value1, value2, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryAddrNotBetween(String value1, String value2) {
            addCriterion("delivery_addr not between", value1, value2, "deliveryAddr");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneIsNull() {
            addCriterion("delivery_phone is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneIsNotNull() {
            addCriterion("delivery_phone is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneEqualTo(String value) {
            addCriterion("delivery_phone =", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneNotEqualTo(String value) {
            addCriterion("delivery_phone <>", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneGreaterThan(String value) {
            addCriterion("delivery_phone >", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_phone >=", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneLessThan(String value) {
            addCriterion("delivery_phone <", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneLessThanOrEqualTo(String value) {
            addCriterion("delivery_phone <=", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneLike(String value) {
            addCriterion("delivery_phone like", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneNotLike(String value) {
            addCriterion("delivery_phone not like", value, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneIn(List<String> values) {
            addCriterion("delivery_phone in", values, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneNotIn(List<String> values) {
            addCriterion("delivery_phone not in", values, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneBetween(String value1, String value2) {
            addCriterion("delivery_phone between", value1, value2, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryPhoneNotBetween(String value1, String value2) {
            addCriterion("delivery_phone not between", value1, value2, "deliveryPhone");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameIsNull() {
            addCriterion("delivery_name is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameIsNotNull() {
            addCriterion("delivery_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameEqualTo(String value) {
            addCriterion("delivery_name =", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameNotEqualTo(String value) {
            addCriterion("delivery_name <>", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameGreaterThan(String value) {
            addCriterion("delivery_name >", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_name >=", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameLessThan(String value) {
            addCriterion("delivery_name <", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameLessThanOrEqualTo(String value) {
            addCriterion("delivery_name <=", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameLike(String value) {
            addCriterion("delivery_name like", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameNotLike(String value) {
            addCriterion("delivery_name not like", value, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameIn(List<String> values) {
            addCriterion("delivery_name in", values, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameNotIn(List<String> values) {
            addCriterion("delivery_name not in", values, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameBetween(String value1, String value2) {
            addCriterion("delivery_name between", value1, value2, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andDeliveryNameNotBetween(String value1, String value2) {
            addCriterion("delivery_name not between", value1, value2, "deliveryName");
            return (Criteria) this;
        }

        public Criteria andExpressNoIsNull() {
            addCriterion("express_no is null");
            return (Criteria) this;
        }

        public Criteria andExpressNoIsNotNull() {
            addCriterion("express_no is not null");
            return (Criteria) this;
        }

        public Criteria andExpressNoEqualTo(String value) {
            addCriterion("express_no =", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotEqualTo(String value) {
            addCriterion("express_no <>", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoGreaterThan(String value) {
            addCriterion("express_no >", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoGreaterThanOrEqualTo(String value) {
            addCriterion("express_no >=", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLessThan(String value) {
            addCriterion("express_no <", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLessThanOrEqualTo(String value) {
            addCriterion("express_no <=", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLike(String value) {
            addCriterion("express_no like", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotLike(String value) {
            addCriterion("express_no not like", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoIn(List<String> values) {
            addCriterion("express_no in", values, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotIn(List<String> values) {
            addCriterion("express_no not in", values, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoBetween(String value1, String value2) {
            addCriterion("express_no between", value1, value2, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotBetween(String value1, String value2) {
            addCriterion("express_no not between", value1, value2, "expressNo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}